var $ = document.querySelector.bind(document);
window.onload = function() {
  Ps.initialize($("#description"), {
    useSelectionScroll: true
  });
};
$("#redraw").addEventListener("click", function() {
  $("#description").innerHTML = "";
  setTimeout(function() {
    $("#description").innerHTML =
      "" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>" +
      "<p>The command takes options applicable</p>";
    Ps.update($("#description"));
  }, 500);
});
